package com.dd.ms.auth.pojo.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dd.ms.common.pojo.annotation.Explanation;
import lombok.Builder;
import lombok.Data;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/7/9 17:11
 * @Description 部门DO
 */
@Data
@Builder
@TableName(value = "dept", autoResultMap = true)
public class DeptDO {
    @TableId(type = IdType.AUTO)
    @Explanation("部门ID（自增主键）")
    private Long deptId;
    @Explanation("部门名称（非空）")
    private String deptName;
    @Explanation("部门标识（非空）")
    private String deptIdentification;
    @Explanation("部门描述（可为空）")
    private String deptDesc;
}
